home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-08-12 | 2.8 KB | 109 lines | [TEXT/MPS ] |
- ;
- ; File: TerminalTools.a
- ;
- ; Contains: Communications Toolbox Terminal tools Interfaces.
- ;
- ; Version: Technology: System 7.5
- ; Release: Universal Interfaces 3.0.1
- ;
- ; Copyright: © 1988-1993, 1995-1997 by Apple Computer, Inc., all rights reserved
- ;
- ; Bugs?: Please include the the file and version information (from above) with
- ; the problem description. Developers belonging to one of the Apple
- ; developer programs can submit bug reports to:
- ;
- ; devsupport@apple.com
- ;
- ;
- IF &TYPE('__TERMINALTOOLS__') = 'UNDEFINED' THEN
- __TERMINALTOOLS__ SET 1
-
- IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
- include 'ConditionalMacros.a'
- ENDIF
- IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
- include 'Dialogs.a'
- ENDIF
- IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
- include 'Terminals.a'
- ENDIF
-
-
- tdefType EQU 'tdef'
- tvalType EQU 'tval'
- tsetType EQU 'tset'
- tlocType EQU 'tloc'
- tscrType EQU 'tscr'
- tbndType EQU 'tbnd'
- tverType EQU 'vers'
-
- ; messages
- tmInitMsg EQU 0
- tmDisposeMsg EQU 1
- tmSuspendMsg EQU 2
- tmResumeMsg EQU 3
- tmMenuMsg EQU 4
- tmEventMsg EQU 5
- tmActivateMsg EQU 6
- tmDeactivateMsg EQU 7
- tmGetErrorStringMsg EQU 8
- tmIdleMsg EQU 50
- tmResetMsg EQU 51
- tmKeyMsg EQU 100
- tmStreamMsg EQU 101
- tmResizeMsg EQU 102
- tmUpdateMsg EQU 103
- tmClickMsg EQU 104
- tmGetSelectionMsg EQU 105
- tmSetSelectionMsg EQU 106
- tmScrollMsg EQU 107
- tmClearMsg EQU 108
- tmGetLineMsg EQU 109
- tmPaintMsg EQU 110
- tmCursorMsg EQU 111
- tmGetEnvironsMsg EQU 112
- tmDoTermKeyMsg EQU 113
- tmCountTermKeysMsg EQU 114
- tmGetIndTermKeyMsg EQU 115
-
- ; messages for validate DefProc
- tmValidateMsg EQU 0
- tmDefaultMsg EQU 1
-
- ; messages for Setup DefProc
- tmSpreflightMsg EQU 0
- tmSsetupMsg EQU 1
- tmSitemMsg EQU 2
- tmSfilterMsg EQU 3
- tmScleanupMsg EQU 4
-
- ; messages for scripting defProc
- tmMgetMsg EQU 0
- tmMsetMsg EQU 1
-
- ; messages for localization defProc
- tmL2English EQU 0
- tmL2Intl EQU 1
- TMSearchBlock RECORD 0
- theString ds.l 1 ; offset: $0 (0)
- where ds Rect ; offset: $4 (4)
- searchType ds.w 1 ; offset: $C (12)
- callBack ds.l 1 ; offset: $E (14)
- refnum ds.w 1 ; offset: $12 (18)
- next ds.l 1 ; offset: $14 (20)
- sizeof EQU * ; size: $18 (24)
- ENDR
- ; typedef struct TMSearchBlock * TMSearchBlockPtr
-
- TMSetupStruct RECORD 0
- theDialog ds.l 1 ; offset: $0 (0)
- count ds.w 1 ; offset: $4 (4)
- theConfig ds.l 1 ; offset: $6 (6)
- procID ds.w 1 ; offset: $A (10) ; procID of the tool
- sizeof EQU * ; size: $C (12)
- ENDR
- ; typedef struct TMSetupStruct * TMSetupPtr
-
- ENDIF ; __TERMINALTOOLS__
-
-